/**
 * PrivilegeEntity.java
 */
package org.yate.oa.model;

import java.io.Serializable;

import org.apache.ibatis.type.Alias;

/**
 * @author Yate
 * @date Nov 13, 2013
 * @description TODO
 * @version 1.0
 */
@Alias(value = "PrivilegeEntity")
public class PrivilegeEntity implements Serializable {

	protected Long privId;
	protected String privName;
	protected String privUrl;
	protected Long modId;
	protected int isTree = 0;

	/**
	 * 
	 */
	public PrivilegeEntity() {
	}

	/**
	 * @return the privId
	 */
	public final Long getPrivId() {
		return privId;
	}

	/**
	 * @param privId
	 *            the privId to set
	 */
	public final void setPrivId(Long privId) {
		this.privId = privId;
	}

	/**
	 * @return the privName
	 */
	public final String getPrivName() {
		return privName;
	}

	/**
	 * @param privName
	 *            the privName to set
	 */
	public final void setPrivName(String privName) {
		this.privName = privName;
	}

	/**
	 * @return the privUrl
	 */
	public final String getPrivUrl() {
		return privUrl;
	}

	/**
	 * @param privUrl
	 *            the privUrl to set
	 */
	public final void setPrivUrl(String privUrl) {
		this.privUrl = privUrl;
	}

	public Long getModId() {
		return modId;
	}

	public void setModId(Long modId) {
		this.modId = modId;
	}

	/**
	 * @return the isTree
	 */
	public final int getIsTree() {
		return isTree;
	}

	/**
	 * @param isTree
	 *            the isTree to set
	 */
	public final void setIsTree(int isTree) {
		this.isTree = isTree;
	}

}
